//-----------------------------------------------------------------------------
// Name: Rifle.h
// Auth: Dante Ratto, Robert Darty, & Paul Godfrey
// Desc: Handles the creation, destruction and updating of a rifle
//-----------------------------------------------------------------------------

#ifndef _RIFLE_
#define _RIFLE_

//-----------------------------------------------------------------------------
// cRifle:
//-----------------------------------------------------------------------------
class cRifle
{
public:
	// Constructors:
	cRifle();
	~cRifle();

	// cRifle Methods:

	//-----------------------------------------------------------------------------
	void Move(float, float, float);
	// Desc: Changes the position in the plane that the Rifle will be at.

	//-----------------------------------------------------------------------------
	void Draw(float, float, float, float, float);
	// Desc: Draws a rifle
	
	//-----------------------------------------------------------------------------
	void SetPitch(float);
	// Desc: SEts pitch of gun
	
	//-----------------------------------------------------------------------------
	void SetYaw(float);
	// Desc: Sets yaw of guns
	
	//-----------------------------------------------------------------------------
	bool GetActive();
	// Desc: Gets active status
	
	//-----------------------------------------------------------------------------
	void SetActive(bool);
	// Desc: Sets active status
	
	//-----------------------------------------------------------------------------
	int GetDamage();
	// Desc: Gets damage of guns
  
private:
	// Members:
	float mXPosition;
	float mZPosition;
	float mYPosition;
	float mYaw;
	float mPitch;
	bool mActive;
	int mDamage;
};

//-----------------------------------------------------------------------------
// Functions:
//-----------------------------------------------------------------------------
cRifle* GetRifle();

#endif